package com.mini.dubbo.consumer;

/**
 * @author yzy
 * Created by yzy on 2021-12-04
 */

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * Spring配置类（当beans.xml用)
 * @author Administrator
 *
 */
@Configuration
@ComponentScan("com.mini.dubbo")
//@Import(xxx.class)
public class SpringConfiguration {
    @Bean
    public CustomBeanDefinitionRegistry customBeanDefinitionRegistry() {
        return new CustomBeanDefinitionRegistry();
    }
}
